package com.joysuch.wwyt.attendant.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description //TODO
 * @Date 2023/2/15 16:44
 * @Author Leong
 **/
@Data
public class AttendantStayTimeBean {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "跟班计划ID")
    private Long attendantPlanId;

    @ApiModelProperty(value = "跟班人员")
    private Long userId;

    @ApiModelProperty(value = "跟班区域")
    private Long areaId;

    @ApiModelProperty(value = "停留时长")
    private String duration;

    @ApiModelProperty(value = "状态 1未开始 2进行中 3已完成 -1 逾期未完成 0暂存")
    private Integer state;

    @ApiModelProperty(value = "签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date signInTime;

    @ApiModelProperty(value = "完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date finishTime;

    @ApiModelProperty(value = "开放平台区域id")
    private String platformAreaId;

    private String sn;

    private Long tenentId;
    private String orgCode;

}
